# include <iostream>
#include"volumeclass.h"

using namespace std;

int main()
{
	Box firstbox(17.0, 1.0, 5.0);
	cout << "object count is" << firstbox.ObjectCount<< endl;
	Box boxes[5];
	cout << "object count is "<< firstbox.ObjectCount<< endl;

	/*cout << " The first box is ="
		<< (compareVolume(firstbox, secondbox) >= 0?"" :"not")
		<< "greater than the secod box"
		<< endl;*/
	
	
	cout << "volume of the first box = "
			<< firstbox.volume()
		  << endl;

	const int count = sizeof boxes / sizeof boxes[0];
	cout << "the boxes array has" << count << "elements.";
	cout << "Each element occupies" << sizeof boxes[0]<< "bytes."
			<< endl;
	for (int i=0; i< count ; i++)
		cout << "volume of boxes [" << i<< "] ="
				<< boxes[i].volume()
				<<endl;
		return 0;
}
		
	/*cout << "surface area of first box="
		  << boxsurface(firstBox)<<endl;*/
	
	//secondBox.length =4.0;

	/*cout << "volume of secodnbox ="
		  << secondbox.volume()<<endl;
	/*cout << "surface are if secondbox ="
			<< boxsurface(secondBox)<< endl;*/
	/*cout << "Volume of third box="
		  <<pthirdBox->volume()<<endl;*/

	/*cout << "surface Area of thirdbox ="

return 0;
}	*/

	
